package com.xuecheng.manage_cms_client;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EntityScan("com.xuecheng.framework.domain.cms")    // 扫描实体类
@ComponentScan("com.xuecheng.api")  //扫描接口
@ComponentScan("com.xuecheng.manage_cms_client") //扫描本项目下的所有类
@ComponentScan("com.xuecheng.framework") // 扫描common项目下的framework
public class ManageCmsClientApplication {
    public static void main(String[] args) {
        SpringApplication.run(ManageCmsClientApplication.class);
    }
}
